local skel = fk.CreateSkill{
  name = "ftk_just_play",
}
local U = require "packages/poker-games/utility"
Fk:loadTranslationTable{
  ["ftk_just_play"] = "出牌",
  [":ftk_just_play"] = "FTK",
}
---@type ViewAsSkillSpec
local ftk = {
  interaction = function (self, player)
    UI.ComboBox{ choices = {} }
  end,
  card_filter = Util.TrueFunc,
  view_as = function (self, player, cards)
    if #cards == 0 then return end
    local c_type = U.judgeCardsType(cards)
    if c_type == "" then return end
    local result = U.splitByString(c_type)
    local c = Fk:cloneCard("ftk__" .. result[1])
    self.interaction = self.interaction or {}
    self.interaction.data = "ftk__" .. result[1]
    return c
  end
}
skel:addEffect("viewas", ftk)
return skel